package com;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;

import com.rzx.entity.User;


@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@MapperScan(value="com.rzx.repository")
/*@PropertySource(value={"${spring.config.location.db}"})
*/
@ComponentScan("/")
public class DemoApplication {

	public static void main(String[] args) {
		SpringApplication.run(DemoApplication.class, args);
		
	}


}
